package com.whw.fy.entity;

import com.whw.fy.config.IgnoreSwaggerParameter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import lombok.Data;

import javax.persistence.Transient;

@ApiModel(value = "com-whw-fy-entity-Lesson")
@Data
public class Lesson {
    /**
     * 课程id
     */
    @ApiModelProperty(value = "课程id")
    private Integer lessonId;

    /**
     * 课程名称
     */
    @ApiModelProperty(value = "课程名称")
    private String lessonName;

    /**
     * 课程时长（单位：min）
     */
    @ApiModelProperty(value = "课程时长（单位：min）")
    private Double lessonDuration;

    /**
     * 课程类别
     */
    @ApiModelProperty(value = "课程类别")
    private Integer lessonType;

    /**
     * 课程技术类别
     */
    @ApiModelProperty(value = "课程技术类别")
    private Integer lessonTychnicalTypeId;

    /**
     * 课程功效
     */
    @ApiModelProperty(value = "课程功效")
    private String lessonEffect;

    /**
     * 课程单价
     */
    @ApiModelProperty(value = "课程单价")
    private BigDecimal lessonPrice;

    /**
     * 课程简介
     */
    @ApiModelProperty(value = "课程简介")
    private String lessonInfo;

    /**
     * 课程封面图片
     */
    @ApiModelProperty(value = "课程封面图片")
    private String lessonPic;

    @Transient
    @IgnoreSwaggerParameter
    private TechnicalType technicalType;
}